//package org.example.test.websoket.vo;
//
//import org.springframework.ai.chat.metadata.ChatResponseMetadata;
//import org.springframework.ai.chat.model.Generation;
//import org.springframework.ai.model.ModelResponse;
//import org.springframework.ai.model.ResponseMetadata;
//
//import java.util.List;
//
///**
// * @author zhaolin
// * @version 1.0
// * @description: TODO
// * @date 2025/2/11 9:23
// */
//public class ChatResponse implements ModelResponse<Generation> {
//    private final ChatResponseMetadata chatResponseMetadata;
//    private final List<Generation> generations;
//
//
//    public ChatResponse(ChatResponseMetadata chatResponseMetadata, List<Generation> generations) {
//        this.chatResponseMetadata = chatResponseMetadata;
//        this.generations = generations;
//    }
//
//    @Override
//    public Generation getResult() {
//        return null;
//    }
//
//    @Override
//    public List<Generation> getResults() {
//        return generations;
//    }
//
//    @Override
//    public ResponseMetadata getMetadata() {
//        return chatResponseMetadata;
//    }
//}
